
1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-04-27 10:34:25
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 418
Content-Uncompressed-Length: 515

LZ4. 	27.4.2022 	10:34:25 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:34:25 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/system/4d.json'. 	27.4.2022 	10:34:25 	lx 	(5. Tcp Server 2)

    Connected to: 'Manageri v12 rest4d Suwalki, 127.0.0.1:5939, database: 4dsuwalki, user: manage_demo'. 	27.4.2022 	10:34:25 	lx 	(5. Tcp Server 2)

  database connect time: 0.0033 seconds. 	27.4.2022 	10:34:25 	lx 	(5. Tcp Server 2)

* connect: connection changed from 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno' to 'rest4dsuwalki/4dsuwalki'. 	27.4.2022 	10:34:25 	lx 	(5. Tcp Server 2)

* organization id 'demo-4dsuwalki-0', combining redirect preferences: '4d, default'. 	27.4.2022 	10:34:25 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/system/4d.json'. 	27.4.2022 	10:34:25 	lx 	(5. Tcp Server 2)

100. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:27 	lx 	(5. Tcp Server 2)

200. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:29 	lx 	(5. Tcp Server 2)

300. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:30 	lx 	(5. Tcp Server 2)

400. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:32 	lx 	(5. Tcp Server 2)

500. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:34 	lx 	(5. Tcp Server 2)

600. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:35 	lx 	(5. Tcp Server 2)

700. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:37 	lx 	(5. Tcp Server 2)

800. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:39 	lx 	(5. Tcp Server 2)

900. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:41 	lx 	(5. Tcp Server 2)

1000. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:42 	lx 	(5. Tcp Server 2)

1100. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:44 	lx 	(5. Tcp Server 2)

1200. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:46 	lx 	(5. Tcp Server 2)

1300. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:47 	lx 	(5. Tcp Server 2)

1400. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:49 	lx 	(5. Tcp Server 2)

1500. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:51 	lx 	(5. Tcp Server 2)

1600. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:53 	lx 	(5. Tcp Server 2)

1700. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:54 	lx 	(5. Tcp Server 2)

1800. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:56 	lx 	(5. Tcp Server 2)

1900. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:58 	lx 	(5. Tcp Server 2)

2000. readHeader tcp.receive() sleep. 	27.4.2022 	10:34:59 	lx 	(5. Tcp Server 2)

2100. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:01 	lx 	(5. Tcp Server 2)

2200. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:03 	lx 	(5. Tcp Server 2)

2300. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:04 	lx 	(5. Tcp Server 2)

2400. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:06 	lx 	(5. Tcp Server 2)

2500. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:08 	lx 	(5. Tcp Server 2)

2600. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:10 	lx 	(5. Tcp Server 2)

2700. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:11 	lx 	(5. Tcp Server 2)

2800. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:13 	lx 	(5. Tcp Server 2)

2900. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:15 	lx 	(5. Tcp Server 2)

3000. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:17 	lx 	(5. Tcp Server 2)

3100. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:18 	lx 	(5. Tcp Server 2)

3200. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:20 	lx 	(5. Tcp Server 2)

3300. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:22 	lx 	(5. Tcp Server 2)

3400. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:24 	lx 	(5. Tcp Server 2)

3500. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:25 	lx 	(5. Tcp Server 2)

3600. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:27 	lx 	(5. Tcp Server 2)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	27.4.2022 	10:35:28 	_lx_SERVER 	(6. tbl_ 5)

3700. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:30 	lx 	(5. Tcp Server 2)

3800. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:31 	lx 	(5. Tcp Server 2)

3900. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:33 	lx 	(5. Tcp Server 2)

4000. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:35 	lx 	(5. Tcp Server 2)

4100. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:36 	lx 	(5. Tcp Server 2)

Tcp server 2 stop failed. 	27.4.2022 	10:35:37 	_lx_SERVER 	(6. tbl_ 5)

4200. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:38 	lx 	(5. Tcp Server 2)

4300. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:40 	lx 	(5. Tcp Server 2)

4400. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:41 	lx 	(5. Tcp Server 2)

4500. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:43 	lx 	(5. Tcp Server 2)

4600. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:45 	lx 	(5. Tcp Server 2)

4700. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:47 	lx 	(5. Tcp Server 2)

4800. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:48 	lx 	(5. Tcp Server 2)

4900. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:50 	lx 	(5. Tcp Server 2)

5000. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:52 	lx 	(5. Tcp Server 2)

5100. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:53 	lx 	(5. Tcp Server 2)

5200. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:55 	lx 	(5. Tcp Server 2)

5300. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:57 	lx 	(5. Tcp Server 2)

5400. readHeader tcp.receive() sleep. 	27.4.2022 	10:35:59 	lx 	(5. Tcp Server 2)

5500. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:01 	lx 	(5. Tcp Server 2)

5600. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:02 	lx 	(5. Tcp Server 2)

5700. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:04 	lx 	(5. Tcp Server 2)

5800. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:06 	lx 	(5. Tcp Server 2)

5900. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:07 	lx 	(5. Tcp Server 2)

6000. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:09 	lx 	(5. Tcp Server 2)

6100. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:11 	lx 	(5. Tcp Server 2)

6200. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:13 	lx 	(5. Tcp Server 2)

6300. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:14 	lx 	(5. Tcp Server 2)

6400. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:16 	lx 	(5. Tcp Server 2)

6500. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:18 	lx 	(5. Tcp Server 2)

6600. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:19 	lx 	(5. Tcp Server 2)

6700. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:21 	lx 	(5. Tcp Server 2)

6800. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:23 	lx 	(5. Tcp Server 2)

Created document to path: Mac:Users:pasi:4D:mg_v19:Manageri_v19:Resources:Preference:db_connection_preference.json. 	27.4.2022 	10:36:24 	_lua_ PREFERENCE_TO_FILE 	(6. tbl_ 5)

Created document to path: Mac:Users:pasi:4D:mg_v19:Manageri_v19:Resources:Lua:preference:db_connection_preference.json. 	27.4.2022 	10:36:24 	_lua_ PREFERENCE_TO_FILE 	(6. tbl_ 5)

6900. readHeader tcp.receive() sleep. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

closing socket '81'. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

readHeader tcp.receive() timeout, connection closed. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

 1. answer time: 00:02:00.05625
  
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

 *** sock:send failed with error -1, errno: 32, error 'Broken pipe'. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

*** tcp close for sock 80, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 688 bytes ***. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

closing socket '80'. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

*** tcp close for sock 81, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

closing socket '81'. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

closing socket '72'. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

closing socket '73'. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

 -- Server statistics --
answerCount:          1
poll.fd_count:        0
pollCount:            1835864
pollInCount:          3
pollOutCount:         0
pollCloseCount:       2
pollErrCount:         0
fd add/remove count:  4/4
totalBytesReceived:   688
totalBytesSent:       0. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

--- server stopped ---. 	27.4.2022 	10:36:25 	lx 	(5. Tcp Server 2)

quiting program: closing all sockets. 	27.4.2022 	10:36:26 	lx 	(5. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x0129087fe0. 	27.4.2022 	10:36:26 	lx 	(5. Tcp Server 2)

exit, bye. 	27.4.2022 	10:36:26 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:37:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:37:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:37:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:37:10 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:37:10 	lx 	(1. Application process)

  database connect time: 0.0179 seconds. 	27.4.2022 	10:37:10 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:37:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:37:10 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	10:37:10 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	10:37:10 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.4.2022 	10:37:10 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.4.2022 	10:37:10 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	10:37:10 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	10:37:10 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	10:37:10 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:37:11 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:37:11 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:37:11 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:37:11 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:37:11 	lx 	(5. Tcp Server 2)

  database connect time: 0.0134 seconds. 	27.4.2022 	10:37:11 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:37:11 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x012c6eba40, size: 400. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

port: 5939, arguments: '[
	5939
]', nc-server.json: '[]'. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5939  closeConnection(0):0. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json, demo-pol_va_varuste_gniezno-0 - system/option.json, demo-pol_va_varuste_gniezno-0 - system/4d.json. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5939/,  http://192.168.32.2:5939/,  http://192.168.33.2:5939/
                          https://127.0.0.1:5939/, https://192.168.32.2:5939/, https://192.168.33.2:5939/. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5939/, 192.168.32.2:5939, 192.168.33.2:5939/. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

--- server started in 0.0772 seconds, plugins loaded in 0.0170 seconds, 2022-04-27 10:37:12, used memory 3160.0 kb --- 	 7. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	10:37:12 	lx 	(5. Tcp Server 2)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-04-27 10:37:38
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 427
Content-Uncompressed-Length: 515

LZ4. 	27.4.2022 	10:37:38 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:37:38 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/system/4d.json'. 	27.4.2022 	10:37:38 	lx 	(5. Tcp Server 2)

    Connected to: 'Manageri v12 rest4d Suwalki, 127.0.0.1:5939, database: 4dsuwalki, user: manage_demo'. 	27.4.2022 	10:37:38 	lx 	(5. Tcp Server 2)

  database connect time: 0.0031 seconds. 	27.4.2022 	10:37:38 	lx 	(5. Tcp Server 2)

* connect: connection changed from 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno' to 'rest4dsuwalki/4dsuwalki'. 	27.4.2022 	10:37:38 	lx 	(5. Tcp Server 2)

* organization id 'demo-4dsuwalki-0', combining redirect preferences: '4d, default'. 	27.4.2022 	10:37:38 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/system/4d.json'. 	27.4.2022 	10:37:38 	lx 	(5. Tcp Server 2)

100. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:40 	lx 	(5. Tcp Server 2)

200. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:42 	lx 	(5. Tcp Server 2)

300. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:43 	lx 	(5. Tcp Server 2)

400. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:45 	lx 	(5. Tcp Server 2)

500. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:47 	lx 	(5. Tcp Server 2)

600. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:48 	lx 	(5. Tcp Server 2)

700. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:50 	lx 	(5. Tcp Server 2)

800. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:52 	lx 	(5. Tcp Server 2)

900. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:54 	lx 	(5. Tcp Server 2)

1000. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:55 	lx 	(5. Tcp Server 2)

1100. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:57 	lx 	(5. Tcp Server 2)

1200. readHeader tcp.receive() sleep. 	27.4.2022 	10:37:59 	lx 	(5. Tcp Server 2)

1300. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:01 	lx 	(5. Tcp Server 2)

1400. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:02 	lx 	(5. Tcp Server 2)

1500. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:04 	lx 	(5. Tcp Server 2)

1600. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:06 	lx 	(5. Tcp Server 2)

1700. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:07 	lx 	(5. Tcp Server 2)

1800. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:09 	lx 	(5. Tcp Server 2)

1900. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:11 	lx 	(5. Tcp Server 2)

2000. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:13 	lx 	(5. Tcp Server 2)

2100. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:14 	lx 	(5. Tcp Server 2)

2200. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:16 	lx 	(5. Tcp Server 2)

2300. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:18 	lx 	(5. Tcp Server 2)

2400. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:19 	lx 	(5. Tcp Server 2)

2500. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:21 	lx 	(5. Tcp Server 2)

2600. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:23 	lx 	(5. Tcp Server 2)

2700. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:25 	lx 	(5. Tcp Server 2)

2800. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:26 	lx 	(5. Tcp Server 2)

2900. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:28 	lx 	(5. Tcp Server 2)

3000. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:30 	lx 	(5. Tcp Server 2)

3100. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:31 	lx 	(5. Tcp Server 2)

3200. readHeader tcp.receive() sleep. 	27.4.2022 	10:38:33 	lx 	(5. Tcp Server 2)

Tcp server 2 stop failed. 	27.4.2022 	10:38:34 	_lx_SERVER 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:45:32 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:45:32 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:45:32 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:45:32 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:45:32 	lx 	(1. Application process)

  database connect time: 0.0163 seconds. 	27.4.2022 	10:45:32 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:45:32 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:45:32 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	10:45:33 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	10:45:33 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.4.2022 	10:45:33 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.4.2022 	10:45:33 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	10:45:33 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	10:45:33 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	10:45:33 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

  database connect time: 0.0141 seconds. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x011bbafc00, size: 400. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

port: 5939, arguments: '[
	5939
]', nc-server.json: '[]'. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5939  closeConnection(0):0. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - system/option.json, demo-pol_va_varuste_gniezno-0 - system/4d.json, demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5939/,  http://192.168.32.2:5939/,  http://192.168.33.2:5939/
                          https://127.0.0.1:5939/, https://192.168.32.2:5939/, https://192.168.33.2:5939/. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5939/, 192.168.32.2:5939, 192.168.33.2:5939/. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

--- server started in 0.0702 seconds, plugins loaded in 0.0166 seconds, 2022-04-27 10:45:34, used memory 3075.5 kb --- 	 7. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	10:45:34 	lx 	(5. Tcp Server 2)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	27.4.2022 	10:46:00 	_lx_SERVER 	(6. tbl_ 5)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

closing socket '72'. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

closing socket '73'. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            1144
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

--- server stopped ---. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

quiting program: closing all sockets. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x011bbafc00. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

exit, bye. 	27.4.2022 	10:46:00 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:46:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:46:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:46:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:46:10 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:46:10 	lx 	(1. Application process)

  database connect time: 0.0176 seconds. 	27.4.2022 	10:46:10 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:46:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:46:10 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	10:46:11 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	10:46:11 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.4.2022 	10:46:11 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.4.2022 	10:46:11 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	10:46:11 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	10:46:11 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	10:46:11 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

  database connect time: 0.0122 seconds. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x011d0859f0, size: 400. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

port: 5939, arguments: '[
	5939
]', nc-server.json: '[]'. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5939  closeConnection(0):0. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - system/option.json, demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json, demo-pol_va_varuste_gniezno-0 - system/4d.json. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5939/,  http://192.168.32.2:5939/,  http://192.168.33.2:5939/
                          https://127.0.0.1:5939/, https://192.168.32.2:5939/, https://192.168.33.2:5939/. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5939/, 192.168.32.2:5939, 192.168.33.2:5939/. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

--- server started in 0.0697 seconds, plugins loaded in 0.0159 seconds, 2022-04-27 10:46:12, used memory 3190.7 kb --- 	 7. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	10:46:12 	lx 	(5. Tcp Server 2)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	27.4.2022 	10:48:30 	_lx_SERVER 	(6. tbl_ 5)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

closing socket '72'. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

closing socket '73'. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            6136
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

--- server stopped ---. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

quiting program: closing all sockets. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x011d0859f0. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

exit, bye. 	27.4.2022 	10:48:30 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:48:37 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:48:37 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:48:37 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:48:37 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:48:37 	lx 	(1. Application process)

  database connect time: 0.0172 seconds. 	27.4.2022 	10:48:37 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:48:37 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:48:37 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	10:48:37 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	10:48:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.4.2022 	10:48:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.4.2022 	10:48:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	10:48:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	10:48:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	10:48:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:48:38 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:48:38 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:48:38 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:48:38 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

  database connect time: 0.0163 seconds. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x012906e620, size: 400. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

port: 5939, arguments: '[
	5939
]', nc-server.json: '[]'. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5939  closeConnection(0):0. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json, demo-pol_va_varuste_gniezno-0 - system/option.json, demo-pol_va_varuste_gniezno-0 - system/4d.json. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5939/,  http://192.168.32.2:5939/,  http://192.168.33.2:5939/
                          https://127.0.0.1:5939/, https://192.168.32.2:5939/, https://192.168.33.2:5939/. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5939/, 192.168.32.2:5939, 192.168.33.2:5939/. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

--- server started in 0.0551 seconds, plugins loaded in 0.0099 seconds, 2022-04-27 10:48:39, used memory 3114.3 kb --- 	 7. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	10:48:39 	lx 	(5. Tcp Server 2)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

closing socket '72'. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

closing socket '73'. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            2944
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

--- server stopped ---. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

quiting program: closing all sockets. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x012906e620. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

exit, bye. 	27.4.2022 	10:49:42 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:49:47 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:49:47 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:49:47 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:49:47 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:49:47 	lx 	(1. Application process)

  database connect time: 0.0151 seconds. 	27.4.2022 	10:49:47 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:49:47 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:49:47 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	10:49:48 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	10:49:48 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.4.2022 	10:49:48 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.4.2022 	10:49:48 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	10:49:48 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	10:49:48 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	10:49:48 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

  database connect time: 0.0126 seconds. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x01145bda20, size: 400. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json, demo-pol_va_varuste_gniezno-0 - system/4d.json, demo-pol_va_varuste_gniezno-0 - system/option.json. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/,  http://192.168.33.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/, https://192.168.33.2:5949/. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949, 192.168.33.2:5949/. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

--- server started in 0.0496 seconds, plugins loaded in 0.0092 seconds, 2022-04-27 10:49:49, used memory 3168.6 kb --- 	 7. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	10:49:49 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	10:50:14 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	10:50:14 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	10:51:52 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	10:51:52 	lx 	(5. Tcp Server 2)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-04-27 10:52:02
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 457
Content-Uncompressed-Length: 542

LZ4. 	27.4.2022 	10:52:02 	lx 	(5. Tcp Server 2)

warning: organization id 'plg4d-plg4d-0' was not found, call:
stack traceback:
	/nc-server/lib/util.lua:472: in function 'callPath'
	/nc-server/lib/auth.lua:199: in function 'setCurrentOrganization'
	/nc-server/lib/db/dconn.lua:833: in function 'setCurrentOrganization'
	/nc-server/lib/auth.lua:329: in function 'authenticate'
	/nc-server/lib/rest.lua:464: in function 'jsonValue'
	/nc-server/lib/rest.lua:611: in function 'createPostAnswer'
	/nc-server/lib/rest.lua:722: in function 'createAnswer'
	/nc-server/lib/rest.lua:944: in function 'answerFunction'
	/nc-server/lib/server.lua:138: in function 'answer'
	/nc-server/lib/server.lua:224: in function 'in_callback'
	/nc-server/lib/lib_poll.lua:253: in function 'poll_event'
	/nc-server/lib/lib_poll.lua:331: in function 'poll'
	/nc-server/lib/server.lua:309: in function 'pollLoop'
	/nc-server/nc/nc-server.lua:116: in function 'server'
	/nc-server/manager/4d/nc_server_4d.lua:168: in function </nc-server/manager/4d/nc_server_4d.lua:133>
	[C]: in function 'pcall'
	/nc-server/manager/4d/run_from_4d.lua:66: in function </nc-server/manager/4d/run_from_4d.lua:18>
. 	27.4.2022 	10:52:02 	lx 	(5. Tcp Server 2)

warning: 
*** sql error: 'ERROR:  relation "company" does not exist
LINE 2:  FROM company co
              ^
', sql: 
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''


. 	27.4.2022 	10:52:02 	lx 	(5. Tcp Server 2)

 1. answer time: 00:00:00.01192
  
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''. 	27.4.2022 	10:52:02 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 727 bytes ***. 	27.4.2022 	10:52:15 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	10:52:15 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	10:53:44 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	10:53:44 	lx 	(5. Tcp Server 2)

warning: organization id 'plg4d-plg4d-0' was not found, call:
stack traceback:
	/nc-server/lib/util.lua:472: in function 'callPath'
	/nc-server/lib/auth.lua:199: in function 'setCurrentOrganization'
	/nc-server/lib/db/dconn.lua:833: in function 'setCurrentOrganization'
	/nc-server/lib/auth.lua:329: in function 'authenticate'
	/nc-server/lib/rest.lua:464: in function 'jsonValue'
	/nc-server/lib/rest.lua:611: in function 'createPostAnswer'
	/nc-server/lib/rest.lua:722: in function 'createAnswer'
	/nc-server/lib/rest.lua:944: in function 'answerFunction'
	/nc-server/lib/server.lua:138: in function 'answer'
	/nc-server/lib/server.lua:224: in function 'in_callback'
	/nc-server/lib/lib_poll.lua:253: in function 'poll_event'
	/nc-server/lib/lib_poll.lua:331: in function 'poll'
	/nc-server/lib/server.lua:309: in function 'pollLoop'
	/nc-server/nc/nc-server.lua:116: in function 'server'
	/nc-server/manager/4d/nc_server_4d.lua:168: in function </nc-server/manager/4d/nc_server_4d.lua:133>
	[C]: in function 'pcall'
	/nc-server/manager/4d/run_from_4d.lua:66: in function </nc-server/manager/4d/run_from_4d.lua:18>
. 	27.4.2022 	10:53:46 	lx 	(5. Tcp Server 2)

warning: 
*** sql error: 'ERROR:  relation "company" does not exist
LINE 2:  FROM company co
              ^
', sql: 
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''


. 	27.4.2022 	10:53:46 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 726 bytes ***. 	27.4.2022 	10:54:15 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	10:54:15 	lx 	(5. Tcp Server 2)

warning: organization id 'plg4d-plg4d-0' was not found, call:
stack traceback:
	/nc-server/lib/util.lua:472: in function 'callPath'
	/nc-server/lib/auth.lua:199: in function 'setCurrentOrganization'
	/nc-server/lib/db/dconn.lua:833: in function 'setCurrentOrganization'
	/nc-server/lib/auth.lua:329: in function 'authenticate'
	/nc-server/lib/rest.lua:464: in function 'jsonValue'
	/nc-server/lib/rest.lua:611: in function 'createPostAnswer'
	/nc-server/lib/rest.lua:722: in function 'createAnswer'
	/nc-server/lib/rest.lua:944: in function 'answerFunction'
	/nc-server/lib/server.lua:138: in function 'answer'
	/nc-server/lib/server.lua:224: in function 'in_callback'
	/nc-server/lib/lib_poll.lua:253: in function 'poll_event'
	/nc-server/lib/lib_poll.lua:331: in function 'poll'
	/nc-server/lib/server.lua:309: in function 'pollLoop'
	/nc-server/nc/nc-server.lua:116: in function 'server'
	/nc-server/manager/4d/nc_server_4d.lua:168: in function </nc-server/manager/4d/nc_server_4d.lua:133>
	[C]: in function 'pcall'
	/nc-server/manager/4d/run_from_4d.lua:66: in function </nc-server/manager/4d/run_from_4d.lua:18>
. 	27.4.2022 	10:54:17 	lx 	(5. Tcp Server 2)

warning: 
*** sql error: 'ERROR:  relation "company" does not exist
LINE 2:  FROM company co
              ^
', sql: 
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''


. 	27.4.2022 	10:54:17 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 722 bytes ***. 	27.4.2022 	10:54:18 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	10:54:18 	lx 	(5. Tcp Server 2)

warning: organization id 'plg4d-plg4d-0' was not found, call:
stack traceback:
	/nc-server/lib/util.lua:472: in function 'callPath'
	/nc-server/lib/auth.lua:199: in function 'setCurrentOrganization'
	/nc-server/lib/db/dconn.lua:833: in function 'setCurrentOrganization'
	/nc-server/lib/auth.lua:329: in function 'authenticate'
	/nc-server/lib/rest.lua:464: in function 'jsonValue'
	/nc-server/lib/rest.lua:611: in function 'createPostAnswer'
	/nc-server/lib/rest.lua:722: in function 'createAnswer'
	/nc-server/lib/rest.lua:944: in function 'answerFunction'
	/nc-server/lib/server.lua:138: in function 'answer'
	/nc-server/lib/server.lua:224: in function 'in_callback'
	/nc-server/lib/lib_poll.lua:253: in function 'poll_event'
	/nc-server/lib/lib_poll.lua:331: in function 'poll'
	/nc-server/lib/server.lua:309: in function 'pollLoop'
	/nc-server/nc/nc-server.lua:116: in function 'server'
	/nc-server/manager/4d/nc_server_4d.lua:168: in function </nc-server/manager/4d/nc_server_4d.lua:133>
	[C]: in function 'pcall'
	/nc-server/manager/4d/run_from_4d.lua:66: in function </nc-server/manager/4d/run_from_4d.lua:18>
. 	27.4.2022 	10:54:38 	lx 	(5. Tcp Server 2)

warning: 
*** sql error: 'ERROR:  relation "company" does not exist
LINE 2:  FROM company co
              ^
', sql: 
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''


. 	27.4.2022 	10:54:38 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 721 bytes ***. 	27.4.2022 	10:54:38 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	10:54:38 	lx 	(5. Tcp Server 2)

warning: organization id 'plg4d-plg4d-0' was not found, call:
stack traceback:
	/nc-server/lib/util.lua:472: in function 'callPath'
	/nc-server/lib/auth.lua:199: in function 'setCurrentOrganization'
	/nc-server/lib/db/dconn.lua:833: in function 'setCurrentOrganization'
	/nc-server/lib/auth.lua:329: in function 'authenticate'
	/nc-server/lib/rest.lua:464: in function 'jsonValue'
	/nc-server/lib/rest.lua:611: in function 'createPostAnswer'
	/nc-server/lib/rest.lua:722: in function 'createAnswer'
	/nc-server/lib/rest.lua:944: in function 'answerFunction'
	/nc-server/lib/server.lua:138: in function 'answer'
	/nc-server/lib/server.lua:224: in function 'in_callback'
	/nc-server/lib/lib_poll.lua:253: in function 'poll_event'
	/nc-server/lib/lib_poll.lua:331: in function 'poll'
	/nc-server/lib/server.lua:309: in function 'pollLoop'
	/nc-server/nc/nc-server.lua:116: in function 'server'
	/nc-server/manager/4d/nc_server_4d.lua:168: in function </nc-server/manager/4d/nc_server_4d.lua:133>
	[C]: in function 'pcall'
	/nc-server/manager/4d/run_from_4d.lua:66: in function </nc-server/manager/4d/run_from_4d.lua:18>
. 	27.4.2022 	10:58:41 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 676 bytes ***. 	27.4.2022 	10:59:28 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	10:59:28 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:01:56 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:01:56 	lx 	(5. Tcp Server 2)

warning: organization id 'plg4d-plg4d-0' was not found, call:
stack traceback:
	/nc-server/lib/util.lua:472: in function 'callPath'
	/nc-server/lib/auth.lua:199: in function 'setCurrentOrganization'
	/nc-server/lib/db/dconn.lua:833: in function 'setCurrentOrganization'
	/nc-server/lib/auth.lua:329: in function 'authenticate'
	/nc-server/lib/rest.lua:464: in function 'jsonValue'
	/nc-server/lib/rest.lua:611: in function 'createPostAnswer'
	/nc-server/lib/rest.lua:722: in function 'createAnswer'
	/nc-server/lib/rest.lua:944: in function 'answerFunction'
	/nc-server/lib/server.lua:138: in function 'answer'
	/nc-server/lib/server.lua:224: in function 'in_callback'
	/nc-server/lib/lib_poll.lua:253: in function 'poll_event'
	/nc-server/lib/lib_poll.lua:331: in function 'poll'
	/nc-server/lib/server.lua:309: in function 'pollLoop'
	/nc-server/nc/nc-server.lua:116: in function 'server'
	/nc-server/manager/4d/nc_server_4d.lua:168: in function </nc-server/manager/4d/nc_server_4d.lua:133>
	[C]: in function 'pcall'
	/nc-server/manager/4d/run_from_4d.lua:66: in function </nc-server/manager/4d/run_from_4d.lua:18>
. 	27.4.2022 	11:02:09 	lx 	(5. Tcp Server 2)

warning: 
*** sql error: 'ERROR:  relation "company" does not exist
LINE 2:  FROM company co
              ^
', sql: 
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''


. 	27.4.2022 	11:02:09 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 715 bytes ***. 	27.4.2022 	11:02:09 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:02:09 	lx 	(5. Tcp Server 2)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	27.4.2022 	11:10:45 	_lx_SERVER 	(6. tbl_ 5)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

closing socket '72'. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

closing socket '73'. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

 -- Server statistics --
answerCount:          6
poll.fd_count:        0
pollCount:            56488
pollInCount:          16
pollOutCount:         0
pollCloseCount:       10
pollErrCount:         0
fd add/remove count:  12/12
totalBytesReceived:   4287
totalBytesSent:       1559. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

--- server stopped ---. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

quiting program: closing all sockets. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x01145bda20. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

exit, bye. 	27.4.2022 	11:10:45 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:12:37 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	11:12:37 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	11:12:37 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:12:37 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	11:12:37 	lx 	(1. Application process)

  database connect time: 0.0170 seconds. 	27.4.2022 	11:12:37 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	11:12:37 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	11:12:37 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	11:12:37 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	11:12:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.4.2022 	11:12:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.4.2022 	11:12:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	11:12:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	11:12:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	11:12:37 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

  database connect time: 0.0138 seconds. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x012331b1a0, size: 400. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - system/4d.json, demo-pol_va_varuste_gniezno-0 - system/option.json, demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/,  http://192.168.33.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/, https://192.168.33.2:5949/. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949, 192.168.33.2:5949/. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

--- server started in 0.0734 seconds, plugins loaded in 0.0174 seconds, 2022-04-27 11:12:39, used memory 3147.1 kb --- 	 7. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	11:12:39 	lx 	(5. Tcp Server 2)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

closing socket '72'. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

closing socket '73'. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            1168
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

--- server stopped ---. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

quiting program: closing all sockets. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x012331b1a0. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

exit, bye. 	27.4.2022 	11:13:04 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:15:38 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	11:15:38 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	11:15:38 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:15:38 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	11:15:38 	lx 	(1. Application process)

  database connect time: 0.0169 seconds. 	27.4.2022 	11:15:38 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	11:15:38 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	11:15:38 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	11:15:38 	_lx_SERVER 	(4. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	11:15:38 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Product]Fixed. 	27.4.2022 	11:15:38 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Product]Available. 	27.4.2022 	11:15:38 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	11:15:38 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	11:15:38 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	11:15:38 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

  database connect time: 0.0140 seconds. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x012cd95e20, size: 400. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - system/4d.json, demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json, demo-pol_va_varuste_gniezno-0 - system/option.json. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/,  http://192.168.33.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/, https://192.168.33.2:5949/. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949, 192.168.33.2:5949/. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

--- server started in 0.0692 seconds, plugins loaded in 0.0152 seconds, 2022-04-27 11:15:40, used memory 3169.3 kb --- 	 7. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	11:15:40 	lx 	(4. Tcp Server 2)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-04-27 11:15:56
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 414
Content-Uncompressed-Length: 478

LZ4. 	27.4.2022 	11:15:56 	lx 	(4. Tcp Server 2)

warning: organization id 'plg4d-plg4d-0' was not found, call:
stack traceback:
	/nc-server/lib/util.lua:472: in function 'callPath'
	/nc-server/lib/auth.lua:199: in function 'setCurrentOrganization'
	/nc-server/lib/db/dconn.lua:833: in function 'setCurrentOrganization'
	/nc-server/lib/auth.lua:329: in function 'authenticate'
	/nc-server/lib/rest.lua:464: in function 'jsonValue'
	/nc-server/lib/rest.lua:611: in function 'createPostAnswer'
	/nc-server/lib/rest.lua:722: in function 'createAnswer'
	/nc-server/lib/rest.lua:944: in function 'answerFunction'
	/nc-server/lib/server.lua:138: in function 'answer'
	/nc-server/lib/server.lua:224: in function 'in_callback'
	/nc-server/lib/lib_poll.lua:253: in function 'poll_event'
	/nc-server/lib/lib_poll.lua:331: in function 'poll'
	/nc-server/lib/server.lua:309: in function 'pollLoop'
	/nc-server/nc/nc-server.lua:116: in function 'server'
	/nc-server/manager/4d/nc_server_4d.lua:168: in function </nc-server/manager/4d/nc_server_4d.lua:133>
	[C]: in function 'pcall'
	/nc-server/manager/4d/run_from_4d.lua:66: in function </nc-server/manager/4d/run_from_4d.lua:18>
. 	27.4.2022 	11:15:56 	lx 	(4. Tcp Server 2)

warning: 
*** sql error: 'ERROR:  relation "company" does not exist
LINE 2:  FROM company co
              ^
', sql: 
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''


. 	27.4.2022 	11:15:56 	lx 	(4. Tcp Server 2)

 1. answer time: 00:00:00.01467
  
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''. 	27.4.2022 	11:15:56 	lx 	(4. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 684 bytes ***. 	27.4.2022 	11:16:00 	lx 	(4. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:16:00 	lx 	(4. Tcp Server 2)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	27.4.2022 	11:22:37 	_lx_SERVER 	(5. tbl_ 4)

*** tcp close for sock 75, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

closing socket '75'. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

*** tcp close for sock 76, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

closing socket '76'. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

 -- Server statistics --
answerCount:          1
poll.fd_count:        0
pollCount:            18728
pollInCount:          2
pollOutCount:         0
pollCloseCount:       1
pollErrCount:         0
fd add/remove count:  3/3
totalBytesReceived:   684
totalBytesSent:       258. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

--- server stopped ---. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

quiting program: closing all sockets. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x012cd95e20. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

exit, bye. 	27.4.2022 	11:22:37 	lx 	(4. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:24:23 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	11:24:23 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	11:24:23 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:24:23 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	11:24:23 	lx 	(1. Application process)

  database connect time: 0.0201 seconds. 	27.4.2022 	11:24:23 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	11:24:23 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	11:24:23 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	11:24:24 	_lx_SERVER 	(4. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	11:24:24 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Product]Fixed. 	27.4.2022 	11:24:24 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Product]Available. 	27.4.2022 	11:24:24 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	11:24:24 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	11:24:24 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	11:24:24 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

  database connect time: 0.0101 seconds. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x012a1ed390, size: 400. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - system/4d.json, demo-pol_va_varuste_gniezno-0 - system/option.json, demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/,  http://192.168.33.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/, https://192.168.33.2:5949/. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949, 192.168.33.2:5949/. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

--- server started in 0.0703 seconds, plugins loaded in 0.0170 seconds, 2022-04-27 11:24:25, used memory 3185.4 kb --- 	 7. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	11:24:25 	lx 	(4. Tcp Server 2)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-04-27 11:24:53
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 411
Content-Uncompressed-Length: 478

LZ4. 	27.4.2022 	11:24:53 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:24:53 	lx 	(4. Tcp Server 2)

    Connected to: 'Manageri v12 plg4d local, , database: plg4d, user: manage_demo'. 	27.4.2022 	11:24:53 	lx 	(4. Tcp Server 2)

  database connect time: 0.0075 seconds. 	27.4.2022 	11:24:53 	lx 	(4. Tcp Server 2)

* connect: connection changed from 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno' to 'plg4d/plg4d'. 	27.4.2022 	11:24:53 	lx 	(4. Tcp Server 2)

 1. answer time: 00:00:00.07447
  
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''. 	27.4.2022 	11:24:53 	lx 	(4. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 681 bytes ***. 	27.4.2022 	11:25:23 	lx 	(4. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:25:23 	lx 	(4. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 675 bytes ***. 	27.4.2022 	11:28:54 	lx 	(4. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:28:54 	lx 	(4. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:36:48 	lx 	(4. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:36:48 	lx 	(4. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:36:50 	lx 	(4. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:36:50 	lx 	(4. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:37:05 	lx 	(4. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:37:05 	lx 	(4. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:37:18 	lx 	(4. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:37:18 	lx 	(4. Tcp Server 2)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	27.4.2022 	11:39:04 	_lx_SERVER 	(5. tbl_ 4)

*** tcp close for sock 75, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

closing socket '75'. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

*** tcp close for sock 76, type 'nil', protocol 'nil', reason: '', previous request length: (no request) bytes ***. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

closing socket '76'. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

 -- Server statistics --
answerCount:          2
poll.fd_count:        0
pollCount:            39440
pollInCount:          8
pollOutCount:         0
pollCloseCount:       6
pollErrCount:         0
fd add/remove count:  8/8
totalBytesReceived:   1356
totalBytesSent:       597. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

--- server stopped ---. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

quiting program: closing all sockets. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x012a1ed390. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

exit, bye. 	27.4.2022 	11:39:04 	lx 	(4. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:40:27 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	11:40:27 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	11:40:27 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:40:27 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	11:40:27 	lx 	(1. Application process)

  database connect time: 0.0180 seconds. 	27.4.2022 	11:40:27 	lx 	(1. Application process)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	11:40:27 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	11:40:27 	lx 	(1. Application process)

Tcp server 2 starting. 	27.4.2022 	11:40:27 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.4.2022 	11:40:27 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.4.2022 	11:40:27 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.4.2022 	11:40:27 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.4.2022 	11:40:27 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.4.2022 	11:40:27 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.4.2022 	11:40:27 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/auth/connection.json'. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: pol_va_varuste_gniezno, user: manage_demo'. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

  database connect time: 0.0164 seconds. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno'. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x01257ca4a0, size: 400. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* cached preference files: demo-pol_va_varuste_gniezno-0 - table/prf/field_type.json, demo-pol_va_varuste_gniezno-0 - system/option.json, demo-pol_va_varuste_gniezno-0 - system/4d.json. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/,  http://192.168.33.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/, https://192.168.33.2:5949/. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949, 192.168.33.2:5949/. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

--- server started in 0.0964 seconds, plugins loaded in 0.0197 seconds, 2022-04-27 11:40:29, used memory 3052.0 kb --- 	 7. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.4.2022 	11:40:29 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:41:37 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:41:37 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:55:18 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:55:18 	lx 	(5. Tcp Server 2)

*** tcp close for sock 78, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:55:51 	lx 	(5. Tcp Server 2)

closing socket '78'. 	27.4.2022 	11:55:51 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:56:39 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:56:39 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	11:57:36 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	11:57:36 	lx 	(5. Tcp Server 2)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-04-27 12:01:44
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 449
Content-Uncompressed-Length: 518

LZ4. 	27.4.2022 	12:01:44 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.4.2022 	12:01:44 	lx 	(5. Tcp Server 2)

    Connected to: 'Manageri v12 plg4d local, , database: plg4d, user: manage_demo'. 	27.4.2022 	12:01:44 	lx 	(5. Tcp Server 2)

  database connect time: 0.0083 seconds. 	27.4.2022 	12:01:44 	lx 	(5. Tcp Server 2)

* connect: connection changed from 'postgre-va-varuste-gniezno/pol_va_varuste_gniezno' to 'plg4d/plg4d'. 	27.4.2022 	12:01:44 	lx 	(5. Tcp Server 2)

 1. answer time: 00:00:00.07551
  
SELECT COUNT(*)
 FROM company co
 WHERE co.record_id IS NOT NULL AND co.company_id <> ''. 	27.4.2022 	12:01:44 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 722 bytes ***. 	27.4.2022 	12:03:13 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:03:13 	lx 	(5. Tcp Server 2)

sql: Error -1, Duplicate table alias - 'WME'. (SQLS 1106)
Failed to validate FROM clause. (SQLS 1702)
Failed to validate SELECT command. (SQLS 1726)
Duplicate table alias - 'WME'.Failed to validate SELECT command. (SQLS 1106)

SELECT COUNT(*)
 FROM work_material_estimated wme
 LEFT OUTER JOIN work wme ON w.work__position_num_id = wme.work__position_num_id
 WHERE wme.record_id IS NOT NULL AND w.transfer_id = 'gniezno'
 INTO :_lx_alExe1
'
SELECT COUNT(*)
 FROM work_material_estimated wme
 LEFT OUTER JOIN work wme ON w.work__position_num_id = wme.work__position_num_id
 WHERE wme.record_id IS NOT NULL AND w.transfer_id = 'gniezno'
 INTO :_lx_alExe1
'
 	27.4.2022 	12:04:17 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4d execute sql error -1: Error -1, Duplicate table alias - 'WME'. (SQLS 1106)
Failed to validate FROM clause. (SQLS 1702)
Failed to validate SELECT command. (SQLS 1726)
Duplicate table alias - 'WME'.Failed to validate SELECT command. (SQLS 1106)

SELECT COUNT(*)
 FROM work_material_estimated wme
 LEFT OUTER JOIN work wme ON w.work__position_num_id = wme.work__position_num_id
 WHERE wme.record_id IS NOT NULL AND w.transfer_id = 'gniezno'
 INTO :_lx_alExe1. 	27.4.2022 	12:04:17 	_lx_SERVER 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 801 bytes ***. 	27.4.2022 	12:04:17 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:04:17 	lx 	(5. Tcp Server 2)

sql: Error -1, Duplicate table alias - 'WME'. (SQLS 1106)
Failed to validate FROM clause. (SQLS 1702)
Failed to validate SELECT command. (SQLS 1726)
Duplicate table alias - 'WME'.Failed to validate SELECT command. (SQLS 1106)

SELECT COUNT(*)
 FROM work_material_estimated wme
 LEFT OUTER JOIN work wme ON w.work__position_num_id = wme.work__position_num_id
 WHERE wme.record_id IS NOT NULL AND w.transfer_id = 'gniezno'
 INTO :_lx_alExe1
'
SELECT COUNT(*)
 FROM work_material_estimated wme
 LEFT OUTER JOIN work wme ON w.work__position_num_id = wme.work__position_num_id
 WHERE wme.record_id IS NOT NULL AND w.transfer_id = 'gniezno'
 INTO :_lx_alExe1
'
 	27.4.2022 	12:06:45 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 800 bytes ***. 	27.4.2022 	12:06:45 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:06:45 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 724 bytes ***. 	27.4.2022 	12:10:11 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:10:11 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 721 bytes ***. 	27.4.2022 	12:17:47 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:17:47 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 723 bytes ***. 	27.4.2022 	12:18:03 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:18:03 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 801 bytes ***. 	27.4.2022 	12:19:23 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:19:23 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 799 bytes ***. 	27.4.2022 	12:22:17 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:22:17 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 791 bytes ***. 	27.4.2022 	12:23:51 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:23:51 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 2 568 bytes ***. 	27.4.2022 	12:24:47 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:24:47 	lx 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM company co  WHERE co.record_id IS NOT NULL AND co.company_id <> ''  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 174
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:27:37 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM supplier su  WHERE su.record_id IS NOT NULL AND su.supplier_id <> ''  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 276
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:27:37 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM product pr  WHERE pr.record_id IS NOT NULL AND pr.product_id <> '' AND pr.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 0
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:27:37 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work w  WHERE w.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 9
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:27:37 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work_material_estimated wme  LEFT OUTER JOIN work w ON w.work__position_num_id = wme.work__position_num_id  WHERE wme.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 214
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:27:37 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work_phase_estimated wpe  LEFT OUTER JOIN work w ON w.work__position_num_id = wpe.work__position_num_id  WHERE wpe.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 27
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:27:38 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT co.record_id FROM company co WHERE co.record_id IS NOT NULL AND co.company_id <> '' AND co.change_id > '' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT co.company_id, co.abc_class, co.accountable_person_id, co.add_packing_cost, co.add_packing_material, co.address, co.allowed_delivery_advance, co.allowed_delivery_delay, co.area, co.bank_account, co.capacity_multiplier, co.change_id, co.company_number, co.cost_center, co.country, co.covenant, co.creation_date, co.creator_id, co.credit_limit, co.cumulative_sales, co.currency_id, co.customer_project, co.default_sales_person_id, co.delivery_company_id, co.electronic_invoice_address, co.email, co.employee_count, co.extra_cost_to_invoice, co.extra_time_multiplier, co.fax_area_code, co.fax_number, co.firm_id, co.foreign_company, co.foreign_sales_price_in_use, co.freight_charges_payer, co.group_1, co.group_2, co.group_3, co.info, co.invoice_company_id, co.invoice_number_serie, co.is_collection_invoice, co.language, co.last_modification_date, co.modifier_id, co.name, co.name_2, co.notes, co.order_discount_percentage, co.payment_delay, co.post_code, co.post_office, co.price_group, co.project_id, co.record_id, co.row_discount_percentage, co.sales_order_code_id, co.send_type, co.state, co.stock_position, co.supplier_number, co.swift_code, co.telephone_area_code, co.telephone_number, co.term_of_delivery, co.terms_of_payment_id, co.text_address, co.trade_registry_number, co.transfer_id, co.transfer_state, co.type_, co.vat_number, co.way_of_delivery, co.waybill_customer_number, co.waybill_deal_number, co.work_advance_days, co.www, co.your_reference FROM company co  WHERE co.record_id IS NOT NULL AND co.company_id <> '' AND co.change_id > ''  LIMIT 500  INTO :_lx_atExe1,:_lx_atExe2,:_lx_atExe3,:_lx_alExe1,:_lx_alExe2,:_lx_atExe4,:_lx_alExe3,:_lx_alExe4,:_lx_atExe5,:_lx_atExe6,:_lx_arExe1,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_atExe11,:_lx_adExe1,:_lx_atExe12,:_lx_arExe2,:_lx_arExe3,:_lx_atExe13,:_lx_atExe14,:_lx_atExe15,:_lx_atExe16,:_lx_atExe17,:_lx_atExe18,:_lx_alExe5,:_lx_arExe4,:_lx_arExe5,:_lx_atExe19,:_lx_atExe20,:_lx_alExe6,:_lx_afExe1,:_lx_afExe2,:_lx_atExe21,:_lx_atExe22,:_lx_atExe23,:_lx_atExe24,:_lx_atExe25,:_lx_atExe26,:_lx_atExe27,:_lx_afExe3,:_lx_atExe28,:_lx_adExe2,:_lx_atExe29,:_lx_atExe30,:_lx_atExe31,:_lx_atExe32,:_lx_arExe6,:_lx_alExe7,:_lx_atExe33,:_lx_atExe34,:_lx_atExe35,:_lx_atExe36,:_lx_atExe37,:_lx_arExe7,:_lx_atExe38,:_lx_atExe39,:_lx_alExe8,:_lx_atExe40,:_lx_atExe41,:_lx_atExe42,:_lx_atExe43,:_lx_atExe44,:_lx_atExe45,:_lx_atExe46,:_lx_atExe47,:_lx_atExe48,:_lx_atExe49,:_lx_alExe9,:_lx_alExe10,:_lx_atExe50,:_lx_atExe51,:_lx_atExe52,:_lx_atExe53,:_lx_arExe8,:_lx_atExe54,:_lx_atExe55
 - result _lx_atExe1 size: 174, first value: '1181'
 - query name: new:save record: preference, table/prf/version_update/demo-pol_va_varuste_gniezno-0.json. 	27.4.2022 	12:27:38 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT su.record_id FROM supplier su WHERE su.record_id IS NOT NULL AND su.supplier_id <> '' AND su.change_id > '' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT su.supplier_id, su.address, su.bank, su.bank_account, su.bank_code, su.change_id, su.cost_center, su.country, su.creator_id, su.credit_limit, su.currency_id, su.customer_project, su.default_account_id, su.delivery_time, su.email, su.fax_area_code, su.fax_number, su.firm_id, su.info, su.is_foreign_supplier, su.language, su.modifier_id, su.name, su.name_2, su.number, su.payment_receiver_id, su.post_code, su.post_office, su.project_id, su.purchase_costs, su.record_id, su.shelf_number, su.swift_code, su.telephone_area_code, su.telephone_number, su.term_of_delivery, su.terms_of_payment_id, su.text_address, su.trade_registry_number, su.transfer_id, su.transfer_state, su.type_, su.vat_number, su.way_of_delivery, su.www, su.your_reference FROM supplier su  WHERE su.record_id IS NOT NULL AND su.supplier_id <> '' AND su.change_id > ''  LIMIT 500  INTO :_lx_atExe1,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_arExe1,:_lx_atExe10,:_lx_atExe11,:_lx_atExe12,:_lx_alExe1,:_lx_atExe13,:_lx_atExe14,:_lx_atExe15,:_lx_alExe2,:_lx_atExe16,:_lx_afExe1,:_lx_atExe17,:_lx_atExe18,:_lx_atExe19,:_lx_atExe20,:_lx_atExe21,:_lx_atExe22,:_lx_atExe23,:_lx_atExe24,:_lx_atExe25,:_lx_arExe2,:_lx_atExe26,:_lx_atExe27,:_lx_atExe28,:_lx_atExe29,:_lx_atExe30,:_lx_atExe31,:_lx_atExe32,:_lx_atExe33,:_lx_atExe34,:_lx_atExe35,:_lx_alExe3,:_lx_atExe36,:_lx_atExe37,:_lx_atExe38,:_lx_atExe39,:_lx_atExe40
 - result _lx_atExe1 size: 276, first value: 'MANAGE'
 - query name: new:save record: company, BALT-YACHT K.A. I B. KOZLOWSCY SP.J. 	27.4.2022 	12:27:38 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT w.record_id FROM work w WHERE w.record_id IS NOT NULL AND w.change_id > '' AND w.transfer_id = 'gniezno' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT w.act_mat_sales_price__total, w.act_material_cost__total, w.act_salary__total, w.act_setup_time__total, w.act_subc_cost__total, w.act_subc_sales_price__total, w.act_work_cost__total, w.act_work_sales_price__total, w.act_work_time__total, w.calculation_lot, w.change_id, w.company_id, w.conf_mat_sales_price__unit, w.conf_subc_sales_price__unit, w.conf_work_sales_price__unit, w.creation_date, w.creator_id, w.customer_project, w.delivered_amount, w.deliveries, w.drawing_number, w.est_mat_sales_price__unit, w.est_material_cost__unit, w.est_salary__unit, w.est_setup_time__unit, w.est_subc_cost__unit, w.est_subc_sales_price__unit, w.est_work_cost__unit, w.est_work_sales_price__unit, w.est_work_time__unit, w.firm_id, w.info, w.level, w.modification_date, w.modifier_id, w.name, w.part__main_level, w.part__upper_level, w.position_, w.produced_amount, w.product_id, w.production_amount, w.project_id, w.record_id, w.remaining_amount, w.sales_price_locked, w.social_cost_multiplier, w.state, w.transfer_id, w.transfer_state, w.vat_percentage, w.waiting_for_delivery, w.work__position_num_id, w.work_id FROM work w  WHERE w.record_id IS NOT NULL AND w.change_id > '' AND w.transfer_id = 'gniezno'  LIMIT 500  INTO :_lx_arExe1,:_lx_arExe2,:_lx_arExe3,:_lx_arExe4,:_lx_arExe5,:_lx_arExe6,:_lx_arExe7,:_lx_arExe8,:_lx_arExe9,:_lx_arExe10,:_lx_atExe1,:_lx_atExe2,:_lx_arExe11,:_lx_arExe12,:_lx_arExe13,:_lx_adExe1,:_lx_atExe3,:_lx_atExe4,:_lx_arExe14,:_lx_alExe1,:_lx_atExe5,:_lx_arExe15,:_lx_arExe16,:_lx_arExe17,:_lx_arExe18,:_lx_arExe19,:_lx_arExe20,:_lx_arExe21,:_lx_arExe22,:_lx_arExe23,:_lx_alExe2,:_lx_atExe6,:_lx_alExe3,:_lx_adExe2,:_lx_atExe7,:_lx_atExe8,:_lx_alExe4,:_lx_alExe5,:_lx_atExe9,:_lx_arExe24,:_lx_atExe10,:_lx_alExe6,:_lx_atExe11,:_lx_atExe12,:_lx_arExe25,:_lx_afExe1,:_lx_arExe26,:_lx_atExe13,:_lx_atExe14,:_lx_alExe7,:_lx_arExe27,:_lx_arExe28,:_lx_atExe15,:_lx_atExe16
 - result _lx_atExe1 size: 9, first value: '20220426.202531.iv001.w_   zzy0f01898ea9c6413'
 - query name: new:save record: company, Recticel Oy. 	27.4.2022 	12:27:39 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT wme.record_id FROM work_material_estimated wme LEFT OUTER JOIN work w ON w.work__position_num_id = wme.work__position_num_id  WHERE wme.record_id IS NOT NULL AND wme.change_id > '' AND w.transfer_id = 'gniezno' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT wme.calc_cost__unit, wme.calculation_type, wme.change_id, wme.cost_price__unit, wme.cost_price_total, wme.cover__inside, wme.creator_id, wme.customer_project, wme.explanation, wme.extra_percentage, wme.firm_id, wme.height, wme.info, wme.kind, wme.material_owner, wme.modifier_id, wme.pages__paper, wme.pieces, wme.profit_multiplier, wme.project_id, wme.quantity__unit, wme.quantity__unit_2, wme.quantity__unit_without_ex, wme.raw_material_id, wme.record_id, wme.row_number, wme.sales_price__unit, wme.sales_price_total, wme.total_quantity, wme.total_quantity_2, wme.transfer_id, wme.transfer_state, wme.unit, wme.unit_2, wme.width, wme.work__position_num_id, wme.work_phase_est_id, wme.working_allowance FROM work_material_estimated wme  LEFT OUTER JOIN work w ON w.work__position_num_id = wme.work__position_num_id  WHERE wme.record_id IS NOT NULL AND wme.change_id > '' AND w.transfer_id = 'gniezno'  LIMIT 500  INTO :_lx_arExe1,:_lx_alExe1,:_lx_atExe1,:_lx_arExe2,:_lx_arExe3,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_atExe5,:_lx_arExe4,:_lx_alExe2,:_lx_arExe5,:_lx_atExe6,:_lx_alExe3,:_lx_alExe4,:_lx_atExe7,:_lx_arExe6,:_lx_arExe7,:_lx_arExe8,:_lx_atExe8,:_lx_arExe9,:_lx_arExe10,:_lx_arExe11,:_lx_atExe9,:_lx_atExe10,:_lx_alExe5,:_lx_arExe12,:_lx_arExe13,:_lx_arExe14,:_lx_arExe15,:_lx_atExe11,:_lx_alExe6,:_lx_atExe12,:_lx_atExe13,:_lx_arExe16,:_lx_atExe14,:_lx_alExe7,:_lx_arExe17
 - result _lx_atExe1 size: 214, first value: '20210818.122817.9l04g.wme_ zzy0f01898ea9c6422'
 - query name: new:save record: product, SILVER HAWK BR Front cushions-19 TY40067. 	27.4.2022 	12:27:39 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT wpe.record_id FROM work_phase_estimated wpe LEFT OUTER JOIN work w ON w.work__position_num_id = wpe.work__position_num_id  WHERE wpe.record_id IS NOT NULL AND wpe.change_id > '' AND w.transfer_id = 'gniezno' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT wpe.bonus_work_time__unit, wpe.change_id, wpe.contract_default_salary, wpe.contract_price__unit, wpe.contract_salary, wpe.cover__inside, wpe.creator_id, wpe.customer_project, wpe.delivery_to_customer, wpe.employee_id, wpe.firm_id, wpe.hourly_salary, wpe.info, wpe.kind, wpe.link_target, wpe.linking_hours, wpe.load_multiplier, wpe.machine_setup_cost__hour, wpe.machine_work_cost__hour, wpe.modifier_id, wpe.next_phase, wpe.phase_number, wpe.pieces__unit, wpe.previous_phase, wpe.production_lot, wpe.profit_multiplier, wpe.project_id, wpe.purchase_multiplier, wpe.record_id, wpe.rest_time__hour, wpe.run_amount, wpe.salary__hour, wpe.setup_amount, wpe.setup_salary__hour, wpe.setup_time__lot, wpe.special_extra_hours, wpe.speed_unit, wpe.subc_profit_multiplier, wpe.subcont_cost__unit, wpe.subcont_cost_total, wpe.subcont_purc_price__unit, wpe.subcont_sales_price__unit, wpe.subcont_sales_price_total, wpe.subcontract, wpe.supplier_id, wpe.tag, wpe.target_extra_time, wpe.target_extra_time__unit, wpe.track_time, wpe.track_time_status, wpe.transfer_id, wpe.transfer_state, wpe.units__hour, wpe.work__position_num_id, wpe.work_cost__unit, wpe.work_cost_total, wpe.work_description, wpe.work_load_group_id, wpe.work_salary__unit, wpe.work_sales_price__unit, wpe.work_sales_price_total, wpe.work_time__lot, wpe.work_time__unit FROM work_phase_estimated wpe  LEFT OUTER JOIN work w ON w.work__position_num_id = wpe.work__position_num_id  WHERE wpe.record_id IS NOT NULL AND wpe.change_id > '' AND w.transfer_id = 'gniezno'  LIMIT 500  INTO :_lx_arExe1,:_lx_atExe1,:_lx_arExe2,:_lx_arExe3,:_lx_afExe1,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_alExe1,:_lx_atExe5,:_lx_alExe2,:_lx_afExe2,:_lx_atExe6,:_lx_alExe3,:_lx_alExe4,:_lx_arExe4,:_lx_arExe5,:_lx_arExe6,:_lx_arExe7,:_lx_atExe7,:_lx_atExe8,:_lx_alExe5,:_lx_arExe8,:_lx_atExe9,:_lx_alExe6,:_lx_arExe9,:_lx_atExe10,:_lx_arExe10,:_lx_atExe11,:_lx_arExe11,:_lx_alExe7,:_lx_arExe12,:_lx_arExe13,:_lx_arExe14,:_lx_arExe15,:_lx_arExe16,:_lx_arExe17,:_lx_arExe18,:_lx_arExe19,:_lx_arExe20,:_lx_arExe21,:_lx_arExe22,:_lx_arExe23,:_lx_afExe3,:_lx_atExe12,:_lx_atExe13,:_lx_arExe24,:_lx_arExe25,:_lx_arExe26,:_lx_alExe8,:_lx_atExe14,:_lx_alExe9,:_lx_arExe27,:_lx_atExe15,:_lx_arExe28,:_lx_arExe29,:_lx_atExe16,:_lx_atExe17,:_lx_arExe30,:_lx_arExe31,:_lx_arExe32,:_lx_arExe33,:_lx_arExe34
 - result _lx_atExe1 size: 27, first value: '20220311.114052.at7ux.wpe_ zzy0f01898ea9c6420'
 - query name: new:save record: product_material, 20190114.071351.9s004.wme_ zzy0787b8aba371e08. 	27.4.2022 	12:27:39 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 2 572 bytes ***. 	27.4.2022 	12:29:22 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:29:22 	lx 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM company co  WHERE co.record_id IS NOT NULL AND co.company_id <> ''  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 174
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:29:27 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM supplier su  WHERE su.record_id IS NOT NULL AND su.supplier_id <> ''  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 276
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:29:27 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM product pr  WHERE pr.record_id IS NOT NULL AND pr.product_id <> '' AND pr.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 0
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:29:27 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work w  WHERE w.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 9
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:29:27 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work_material_estimated wme  LEFT OUTER JOIN work w ON w.work__position_num_id = wme.work__position_num_id  WHERE wme.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 214
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:29:27 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work_phase_estimated wpe  LEFT OUTER JOIN work w ON w.work__position_num_id = wpe.work__position_num_id  WHERE wpe.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 27
 - query name: new:query/common/preference/json_data.json. 	27.4.2022 	12:29:28 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT co.record_id FROM company co WHERE co.record_id IS NOT NULL AND co.company_id <> '' AND co.change_id > '' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT co.company_id, co.abc_class, co.accountable_person_id, co.add_packing_cost, co.add_packing_material, co.address, co.allowed_delivery_advance, co.allowed_delivery_delay, co.area, co.bank_account, co.capacity_multiplier, co.change_id, co.company_number, co.cost_center, co.country, co.covenant, co.creation_date, co.creator_id, co.credit_limit, co.cumulative_sales, co.currency_id, co.customer_project, co.default_sales_person_id, co.delivery_company_id, co.electronic_invoice_address, co.email, co.employee_count, co.extra_cost_to_invoice, co.extra_time_multiplier, co.fax_area_code, co.fax_number, co.firm_id, co.foreign_company, co.foreign_sales_price_in_use, co.freight_charges_payer, co.group_1, co.group_2, co.group_3, co.info, co.invoice_company_id, co.invoice_number_serie, co.is_collection_invoice, co.language, co.last_modification_date, co.modifier_id, co.name, co.name_2, co.notes, co.order_discount_percentage, co.payment_delay, co.post_code, co.post_office, co.price_group, co.project_id, co.record_id, co.row_discount_percentage, co.sales_order_code_id, co.send_type, co.state, co.stock_position, co.supplier_number, co.swift_code, co.telephone_area_code, co.telephone_number, co.term_of_delivery, co.terms_of_payment_id, co.text_address, co.trade_registry_number, co.transfer_id, co.transfer_state, co.type_, co.vat_number, co.way_of_delivery, co.waybill_customer_number, co.waybill_deal_number, co.work_advance_days, co.www, co.your_reference FROM company co  WHERE co.record_id IS NOT NULL AND co.company_id <> '' AND co.change_id > ''  LIMIT 500  INTO :_lx_atExe1,:_lx_atExe2,:_lx_atExe3,:_lx_alExe1,:_lx_alExe2,:_lx_atExe4,:_lx_alExe3,:_lx_alExe4,:_lx_atExe5,:_lx_atExe6,:_lx_arExe1,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_atExe11,:_lx_adExe1,:_lx_atExe12,:_lx_arExe2,:_lx_arExe3,:_lx_atExe13,:_lx_atExe14,:_lx_atExe15,:_lx_atExe16,:_lx_atExe17,:_lx_atExe18,:_lx_alExe5,:_lx_arExe4,:_lx_arExe5,:_lx_atExe19,:_lx_atExe20,:_lx_alExe6,:_lx_afExe1,:_lx_afExe2,:_lx_atExe21,:_lx_atExe22,:_lx_atExe23,:_lx_atExe24,:_lx_atExe25,:_lx_atExe26,:_lx_atExe27,:_lx_afExe3,:_lx_atExe28,:_lx_adExe2,:_lx_atExe29,:_lx_atExe30,:_lx_atExe31,:_lx_atExe32,:_lx_arExe6,:_lx_alExe7,:_lx_atExe33,:_lx_atExe34,:_lx_atExe35,:_lx_atExe36,:_lx_atExe37,:_lx_arExe7,:_lx_atExe38,:_lx_atExe39,:_lx_alExe8,:_lx_atExe40,:_lx_atExe41,:_lx_atExe42,:_lx_atExe43,:_lx_atExe44,:_lx_atExe45,:_lx_atExe46,:_lx_atExe47,:_lx_atExe48,:_lx_atExe49,:_lx_alExe9,:_lx_alExe10,:_lx_atExe50,:_lx_atExe51,:_lx_atExe52,:_lx_atExe53,:_lx_arExe8,:_lx_atExe54,:_lx_atExe55
 - result _lx_atExe1 size: 174, first value: '1181'
 - query name: new:save record: preference, table/prf/version_update/demo-pol_va_varuste_gniezno-0.json. 	27.4.2022 	12:29:46 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT su.record_id FROM supplier su WHERE su.record_id IS NOT NULL AND su.supplier_id <> '' AND su.change_id > '' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT su.supplier_id, su.address, su.bank, su.bank_account, su.bank_code, su.change_id, su.cost_center, su.country, su.creator_id, su.credit_limit, su.currency_id, su.customer_project, su.default_account_id, su.delivery_time, su.email, su.fax_area_code, su.fax_number, su.firm_id, su.info, su.is_foreign_supplier, su.language, su.modifier_id, su.name, su.name_2, su.number, su.payment_receiver_id, su.post_code, su.post_office, su.project_id, su.purchase_costs, su.record_id, su.shelf_number, su.swift_code, su.telephone_area_code, su.telephone_number, su.term_of_delivery, su.terms_of_payment_id, su.text_address, su.trade_registry_number, su.transfer_id, su.transfer_state, su.type_, su.vat_number, su.way_of_delivery, su.www, su.your_reference FROM supplier su  WHERE su.record_id IS NOT NULL AND su.supplier_id <> '' AND su.change_id > ''  LIMIT 500  INTO :_lx_atExe1,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_arExe1,:_lx_atExe10,:_lx_atExe11,:_lx_atExe12,:_lx_alExe1,:_lx_atExe13,:_lx_atExe14,:_lx_atExe15,:_lx_alExe2,:_lx_atExe16,:_lx_afExe1,:_lx_atExe17,:_lx_atExe18,:_lx_atExe19,:_lx_atExe20,:_lx_atExe21,:_lx_atExe22,:_lx_atExe23,:_lx_atExe24,:_lx_atExe25,:_lx_arExe2,:_lx_atExe26,:_lx_atExe27,:_lx_atExe28,:_lx_atExe29,:_lx_atExe30,:_lx_atExe31,:_lx_atExe32,:_lx_atExe33,:_lx_atExe34,:_lx_atExe35,:_lx_alExe3,:_lx_atExe36,:_lx_atExe37,:_lx_atExe38,:_lx_atExe39,:_lx_atExe40
 - result _lx_atExe1 size: 276, first value: 'MANAGE'
 - query name: new:save record: company, BALT-YACHT K.A. I B. KOZLOWSCY SP.J. 	27.4.2022 	12:29:46 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT w.record_id FROM work w WHERE w.record_id IS NOT NULL AND w.change_id > '' AND w.transfer_id = 'gniezno' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT w.act_mat_sales_price__total, w.act_material_cost__total, w.act_salary__total, w.act_setup_time__total, w.act_subc_cost__total, w.act_subc_sales_price__total, w.act_work_cost__total, w.act_work_sales_price__total, w.act_work_time__total, w.calculation_lot, w.change_id, w.company_id, w.conf_mat_sales_price__unit, w.conf_subc_sales_price__unit, w.conf_work_sales_price__unit, w.creation_date, w.creator_id, w.customer_project, w.delivered_amount, w.deliveries, w.drawing_number, w.est_mat_sales_price__unit, w.est_material_cost__unit, w.est_salary__unit, w.est_setup_time__unit, w.est_subc_cost__unit, w.est_subc_sales_price__unit, w.est_work_cost__unit, w.est_work_sales_price__unit, w.est_work_time__unit, w.firm_id, w.info, w.level, w.modification_date, w.modifier_id, w.name, w.part__main_level, w.part__upper_level, w.position_, w.produced_amount, w.product_id, w.production_amount, w.project_id, w.record_id, w.remaining_amount, w.sales_price_locked, w.social_cost_multiplier, w.state, w.transfer_id, w.transfer_state, w.vat_percentage, w.waiting_for_delivery, w.work__position_num_id, w.work_id FROM work w  WHERE w.record_id IS NOT NULL AND w.change_id > '' AND w.transfer_id = 'gniezno'  LIMIT 500  INTO :_lx_arExe1,:_lx_arExe2,:_lx_arExe3,:_lx_arExe4,:_lx_arExe5,:_lx_arExe6,:_lx_arExe7,:_lx_arExe8,:_lx_arExe9,:_lx_arExe10,:_lx_atExe1,:_lx_atExe2,:_lx_arExe11,:_lx_arExe12,:_lx_arExe13,:_lx_adExe1,:_lx_atExe3,:_lx_atExe4,:_lx_arExe14,:_lx_alExe1,:_lx_atExe5,:_lx_arExe15,:_lx_arExe16,:_lx_arExe17,:_lx_arExe18,:_lx_arExe19,:_lx_arExe20,:_lx_arExe21,:_lx_arExe22,:_lx_arExe23,:_lx_alExe2,:_lx_atExe6,:_lx_alExe3,:_lx_adExe2,:_lx_atExe7,:_lx_atExe8,:_lx_alExe4,:_lx_alExe5,:_lx_atExe9,:_lx_arExe24,:_lx_atExe10,:_lx_alExe6,:_lx_atExe11,:_lx_atExe12,:_lx_arExe25,:_lx_afExe1,:_lx_arExe26,:_lx_atExe13,:_lx_atExe14,:_lx_alExe7,:_lx_arExe27,:_lx_arExe28,:_lx_atExe15,:_lx_atExe16
 - result _lx_atExe1 size: 9, first value: '20220426.202531.iv001.w_   zzy0f01898ea9c6413'
 - query name: new:save record: company, Recticel Oy. 	27.4.2022 	12:29:47 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT wme.record_id FROM work_material_estimated wme LEFT OUTER JOIN work w ON w.work__position_num_id = wme.work__position_num_id  WHERE wme.record_id IS NOT NULL AND wme.change_id > '' AND w.transfer_id = 'gniezno' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT wme.calc_cost__unit, wme.calculation_type, wme.change_id, wme.cost_price__unit, wme.cost_price_total, wme.cover__inside, wme.creator_id, wme.customer_project, wme.explanation, wme.extra_percentage, wme.firm_id, wme.height, wme.info, wme.kind, wme.material_owner, wme.modifier_id, wme.pages__paper, wme.pieces, wme.profit_multiplier, wme.project_id, wme.quantity__unit, wme.quantity__unit_2, wme.quantity__unit_without_ex, wme.raw_material_id, wme.record_id, wme.row_number, wme.sales_price__unit, wme.sales_price_total, wme.total_quantity, wme.total_quantity_2, wme.transfer_id, wme.transfer_state, wme.unit, wme.unit_2, wme.width, wme.work__position_num_id, wme.work_phase_est_id, wme.working_allowance FROM work_material_estimated wme  LEFT OUTER JOIN work w ON w.work__position_num_id = wme.work__position_num_id  WHERE wme.record_id IS NOT NULL AND wme.change_id > '' AND w.transfer_id = 'gniezno'  LIMIT 500  INTO :_lx_arExe1,:_lx_alExe1,:_lx_atExe1,:_lx_arExe2,:_lx_arExe3,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_atExe5,:_lx_arExe4,:_lx_alExe2,:_lx_arExe5,:_lx_atExe6,:_lx_alExe3,:_lx_alExe4,:_lx_atExe7,:_lx_arExe6,:_lx_arExe7,:_lx_arExe8,:_lx_atExe8,:_lx_arExe9,:_lx_arExe10,:_lx_arExe11,:_lx_atExe9,:_lx_atExe10,:_lx_alExe5,:_lx_arExe12,:_lx_arExe13,:_lx_arExe14,:_lx_arExe15,:_lx_atExe11,:_lx_alExe6,:_lx_atExe12,:_lx_atExe13,:_lx_arExe16,:_lx_atExe14,:_lx_alExe7,:_lx_arExe17
 - result _lx_atExe1 size: 214, first value: '20210818.122817.9l04g.wme_ zzy0f01898ea9c6422'
 - query name: new:save record: product, SILVER HAWK BR Front cushions-19 TY40067. 	27.4.2022 	12:29:47 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

4D: SELECT wpe.record_id FROM work_phase_estimated wpe LEFT OUTER JOIN work w ON w.work__position_num_id = wpe.work__position_num_id  WHERE wpe.record_id IS NOT NULL AND wpe.change_id > '' AND w.transfer_id = 'gniezno' LIMIT 500 INTO :_lx_atRecordId
 - original query: SELECT wpe.bonus_work_time__unit, wpe.change_id, wpe.contract_default_salary, wpe.contract_price__unit, wpe.contract_salary, wpe.cover__inside, wpe.creator_id, wpe.customer_project, wpe.delivery_to_customer, wpe.employee_id, wpe.firm_id, wpe.hourly_salary, wpe.info, wpe.kind, wpe.link_target, wpe.linking_hours, wpe.load_multiplier, wpe.machine_setup_cost__hour, wpe.machine_work_cost__hour, wpe.modifier_id, wpe.next_phase, wpe.phase_number, wpe.pieces__unit, wpe.previous_phase, wpe.production_lot, wpe.profit_multiplier, wpe.project_id, wpe.purchase_multiplier, wpe.record_id, wpe.rest_time__hour, wpe.run_amount, wpe.salary__hour, wpe.setup_amount, wpe.setup_salary__hour, wpe.setup_time__lot, wpe.special_extra_hours, wpe.speed_unit, wpe.subc_profit_multiplier, wpe.subcont_cost__unit, wpe.subcont_cost_total, wpe.subcont_purc_price__unit, wpe.subcont_sales_price__unit, wpe.subcont_sales_price_total, wpe.subcontract, wpe.supplier_id, wpe.tag, wpe.target_extra_time, wpe.target_extra_time__unit, wpe.track_time, wpe.track_time_status, wpe.transfer_id, wpe.transfer_state, wpe.units__hour, wpe.work__position_num_id, wpe.work_cost__unit, wpe.work_cost_total, wpe.work_description, wpe.work_load_group_id, wpe.work_salary__unit, wpe.work_sales_price__unit, wpe.work_sales_price_total, wpe.work_time__lot, wpe.work_time__unit FROM work_phase_estimated wpe  LEFT OUTER JOIN work w ON w.work__position_num_id = wpe.work__position_num_id  WHERE wpe.record_id IS NOT NULL AND wpe.change_id > '' AND w.transfer_id = 'gniezno'  LIMIT 500  INTO :_lx_arExe1,:_lx_atExe1,:_lx_arExe2,:_lx_arExe3,:_lx_afExe1,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_alExe1,:_lx_atExe5,:_lx_alExe2,:_lx_afExe2,:_lx_atExe6,:_lx_alExe3,:_lx_alExe4,:_lx_arExe4,:_lx_arExe5,:_lx_arExe6,:_lx_arExe7,:_lx_atExe7,:_lx_atExe8,:_lx_alExe5,:_lx_arExe8,:_lx_atExe9,:_lx_alExe6,:_lx_arExe9,:_lx_atExe10,:_lx_arExe10,:_lx_atExe11,:_lx_arExe11,:_lx_alExe7,:_lx_arExe12,:_lx_arExe13,:_lx_arExe14,:_lx_arExe15,:_lx_arExe16,:_lx_arExe17,:_lx_arExe18,:_lx_arExe19,:_lx_arExe20,:_lx_arExe21,:_lx_arExe22,:_lx_arExe23,:_lx_afExe3,:_lx_atExe12,:_lx_atExe13,:_lx_arExe24,:_lx_arExe25,:_lx_arExe26,:_lx_alExe8,:_lx_atExe14,:_lx_alExe9,:_lx_arExe27,:_lx_atExe15,:_lx_arExe28,:_lx_arExe29,:_lx_atExe16,:_lx_atExe17,:_lx_arExe30,:_lx_arExe31,:_lx_arExe32,:_lx_arExe33,:_lx_arExe34
 - result _lx_atExe1 size: 27, first value: '20220311.114052.at7ux.wpe_ zzy0f01898ea9c6420'
 - query name: new:save record: product_material, 20190114.071351.9s004.wme_ zzy0787b8aba371e08. 	27.4.2022 	12:29:47 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 2 611 bytes ***. 	27.4.2022 	12:30:26 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:30:26 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', previous request length: (no request) bytes ***. 	27.4.2022 	12:31:17 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:31:17 	lx 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM company co  WHERE co.record_id IS NOT NULL AND co.company_id <> ''  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 174
 - query name: new:save record: preference, table/prf/version_update/demo-pol_va_varuste_gniezno4d-0.json. 	27.4.2022 	12:31:47 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM supplier su  WHERE su.record_id IS NOT NULL AND su.supplier_id <> ''  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 276
 - query name: new:save record: preference, table/prf/version_update/demo-pol_va_varuste_gniezno4d-0.json. 	27.4.2022 	12:31:48 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM product pr  WHERE pr.record_id IS NOT NULL AND pr.product_id <> '' AND pr.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 0
 - query name: new:save record: preference, table/prf/version_update/demo-pol_va_varuste_gniezno4d-0.json. 	27.4.2022 	12:31:48 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work w  WHERE w.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 9
 - query name: new:save record: preference, table/prf/version_update/demo-pol_va_varuste_gniezno4d-0.json. 	27.4.2022 	12:31:48 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work_material_estimated wme  LEFT OUTER JOIN work w ON w.work__position_num_id = wme.work__position_num_id  WHERE wme.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 214
 - query name: new:save record: preference, table/prf/version_update/demo-pol_va_varuste_gniezno4d-0.json. 	27.4.2022 	12:31:48 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

SELECT COUNT(*)  FROM work_phase_estimated wpe  LEFT OUTER JOIN work w ON w.work__position_num_id = wpe.work__position_num_id  WHERE wpe.record_id IS NOT NULL AND w.transfer_id = 'gniezno'  INTO :_lx_alExe1
 - result _lx_alExe1 size: 1, first value: 27
 - query name: new:save record: preference, table/prf/version_update/demo-pol_va_varuste_gniezno4d-0.json. 	27.4.2022 	12:31:48 	_lx_ExecuteSqlNew 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', previous request length: 848 bytes ***. 	27.4.2022 	12:32:24 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.4.2022 	12:32:24 	lx 	(5. Tcp Server 2)

